ver = release

ifeq ($(ver), debug)
GAME := debug_train_system
CFLAGS ?=-g -Wall -O0 -D_DEBUG_ -lpthread `pkg-config --cflags --libs gtk+-2.0`
else
GAME := train_system
CFLAGS ?=-g -Wall -O0 -lpthread `pkg-config --cflags --libs gtk+-2.0`
endif

pwddir = $(PWD)
libdir = $(pwddir)/lib
buidir = $(pwddir)/build
pacdir = $(pwddir)/package
incdir = $(pwddir)/include
bindir = $(buidir)/bin
objdir = $(buidir)/obj